//
//  Soldier.h
//  TowerDefence
//
//  Created by K3 on 6/4/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "GameCharacter.h"
#import "Enemy.h"
#import "BarrackTower.h"

@interface Soldier : GameCharacter {
    Enemy *targetLocked;
    BOOL lockTarget;
    
    CGPoint standingPosition;
}

@property (nonatomic,retain) Enemy *targetLocked;
@property (nonatomic) CGPoint standingPosition;

-(id)initSoldierWith:(GameLayer*)_gameLayer;
-(void)findAndLockTarget;
-(float)distanceFromEnemy:(Enemy*)_enemy;
//fixed delete moveToAttack
-(void)attack;
-(void)battle;
-(void)moveToPoint:(CGPoint)_CGPoint;

@end
